Details

Time bar (total: 9.4s)

sample323.0ms

Algorithm
intervals
Results
36.0ms424×body80valid
4.0ms12×body640valid
2.0ms10×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune21.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize43.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
6.2b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
6.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.2b
(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)))

rewrite427.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:
281.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
108.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
18.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.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)))

series525.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* 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))
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
289.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)))

simplify112.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08513320
134782548
250022518

prune930.0ms

Filtered
180 candidates to 98 candidates (54.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize53.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
42×prod-diff
35×add-sqr-sqrt
34×*-un-lft-identity
32×add-cube-cbrt
24×times-frac
18×pow1 add-exp-log add-cbrt-cube
12×fma-neg sqrt-prod
pow-prod-down prod-exp cbrt-unprod
sqrt-div 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--
diff-log fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 130
Calls
4 calls:
50.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
108.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
17.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) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
89.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))
273.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) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify107.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07802824
134362263
250012241

prune886.0ms

Filtered
142 candidates to 80 candidates (56.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize54.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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))))
49.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
17.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)))))

series481.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
69.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))
271.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)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06352564
126832064
250022050

prune865.0ms

Filtered
131 candidates to 76 candidates (58.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize53.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))))
4.5b
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
6.2b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.2b
(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)))))

rewrite91.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:
17.0ms
(* x1 (* x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0))))
52.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
17.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)))))

series445.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* x1 (* x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0))))
71.0ms
(- (/ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (sqrt (+ (* x1 x1) 1.0))) 3.0)
45.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
258.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)))))

simplify100.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07562591
132442042
250022025

prune798.0ms

Filtered
134 candidates to 75 candidates (56.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

regimes405.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.7s

Algorithm
intervals
Results
1.2s14110×body80valid
122.0ms369×body640valid
80.0ms325×body320valid
70.0ms162×body1280valid
30.0ms176×body160valid