Details

Time bar (total: 9.8s)

sample318.0ms

Algorithm
intervals
Results
41.0ms427×body80valid
5.0ms14×body640valid
4.0msbody1280valid
2.0msbody320valid
1.0msbody160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize49.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.5b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
4.5b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.7b
(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)))

rewrite416.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:
276.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
106.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
23.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
2.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)))

series541.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
94.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
295.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)))

simplify111.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08513320
134782548
250022518

prune920.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize54.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
2.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.5b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.7b
(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)))))

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
90×*-un-lft-identity
64×add-cube-cbrt
63×prod-diff
61×times-frac
21×fma-neg
15×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
associate-/r/
pow-prod-down prod-exp cbrt-unprod
associate-*l* add-log-exp
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log div-sub flip-- unswap-sqr
Counts
4 → 157
Calls
4 calls:
3.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
279.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
17.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.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)))))

series537.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
103.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
46.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
285.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)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07173060
129072355
250012328

prune927.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize61.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
2.8b
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
4.5b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.7b
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
35×add-sqr-sqrt
33×*-un-lft-identity
31×add-cube-cbrt
24×times-frac
15×pow1 add-exp-log add-cbrt-cube
12×fma-neg sqrt-prod
sqrt-div associate-/r/
pow-prod-down prod-exp cbrt-unprod
associate-*l* add-log-exp
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 119
Calls
4 calls:
3.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
48.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
16.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.0ms
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

series496.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
72.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
281.0ms
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06352564
126832064
250022050

prune883.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize62.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0))))
2.8b
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
4.5b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
8.7b
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)))) (* x1 (* x1 (- 6.0)))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
32×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
27×add-exp-log add-cbrt-cube
24×times-frac
18×pow1
14×prod-exp cbrt-unprod
12×fma-neg sqrt-prod
pow-prod-down
sqrt-div associate-/r/
associate-*l* add-log-exp
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
cbrt-undiv associate-*r/ div-exp associate-*r* *-commutative
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 122
Calls
4 calls:
16.0ms
(* x1 (* x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0))))
50.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
16.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
0.0ms
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)))) (* x1 (* x1 (- 6.0)))))

series465.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* x1 (* x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0))))
74.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
44.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
272.0ms
(fma (* (+ (- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* 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 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)))) (* x1 (* x1 (- 6.0)))))

simplify101.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07562591
132442042
250022025

prune838.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

regimes302.0ms

Accuracy

0% (0.2b 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
06861
17661
27961
37961

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s14010×body80valid
160.0ms434×body640valid
91.0ms323×body320valid
84.0ms180×body1280valid
29.0ms157×body160valid