Details

Time bar (total: 8.7s)

sample351.0ms

Algorithm
intervals
Results
42.0ms462×body80valid
18.0ms11×body320valid
5.0ms13×body640valid
3.0msbody1280valid
1.0msbody160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune22.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize54.0ms

Local error

Found 4 expressions with local error:

2.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
4.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.8b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
91×*-un-lft-identity
69×prod-diff
65×add-cube-cbrt
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
sub-neg
flip3-- associate-*r/ *-commutative flip--
associate--l- diff-log div-sub fma-udef unswap-sqr
Counts
4 → 168
Calls
4 calls:
21.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
18.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
3.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series532.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
91.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
43.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
297.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify116.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08513320
134782548
250022518

prune918.0ms

Filtered
180 candidates to 98 candidates (54.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize52.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
4.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
4.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.8b
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
27×prod-diff
22×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
pow-prod-down prod-exp cbrt-unprod
associate-/r/
fma-neg
flip3-- flip-- add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u times-frac associate-*r* associate-*l* log1p-expm1-u div-inv
sub-neg
*-commutative
diff-log fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 110
Calls
4 calls:
17.0ms
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
21.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
1.0ms
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series489.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
90.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
44.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
279.0ms
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify106.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07352314
135201726
250011666

prune808.0ms

Filtered
122 candidates to 75 candidates (61.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize51.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
4.7b
(* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0)))
4.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.8b
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0))) (* (* x1 x1) (- 6.0))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
25×add-sqr-sqrt *-un-lft-identity add-cbrt-cube
23×add-cube-cbrt
21×prod-diff
20×prod-exp
15×pow1
14×associate-*r*
13×times-frac
12×cbrt-unprod
associate-*r/
associate-/r/
fma-neg pow-prod-down
add-log-exp
flip3-- flip-- div-inv
expm1-log1p-u div-exp associate-*l* log1p-expm1-u
cbrt-undiv pow-to-exp pow-exp *-commutative
sub-neg diff-log fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 115
Calls
4 calls:
18.0ms
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
8.0ms
(* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0)))
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
1.0ms
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0))) (* (* x1 x1) (- 6.0))))

series446.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0)
69.0ms
(* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0)))
41.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
261.0ms
(fma (* (+ (- (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (- (* x1 x1) 1.0)) (* (fma x1 x1 1.0) (- (* x1 x1) 1.0))) 3.0) (fma (- 3.0) 1 3.0)) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (* (* (pow x1 2) 4.0) (/ (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (fma x1 x1 1.0))) (* (* x1 x1) (- 6.0))))

simplify115.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
07622228
137881680
250021584

prune831.0ms

Filtered
127 candidates to 78 candidates (61.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 x1) x1)
2.5b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.8b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
63×add-cube-cbrt prod-diff
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
*-commutative
associate--l- sub-neg flip3-- diff-log div-sub flip-- fma-udef
Counts
4 → 155
Calls
4 calls:
6.0ms
(* (* 3.0 x1) x1)
20.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 3.0 x1) x1)
105.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
279.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06672792
125992123
250022096

prune810.0ms

Filtered
167 candidates to 88 candidates (52.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

regimes285.0ms

Accuracy

0% (0.1b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06359
16759
26859
36859

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.2s14185×body80valid
138.0ms393×body640valid
86.0ms334×body320valid
72.0ms162×body1280valid
32.0ms176×body160valid