Details

Time bar (total: 9.6s)

sample365.0ms

Algorithm
intervals
Results
61.0ms424×body80valid
7.0ms17×body640valid
4.0ms12×body320valid
3.0msbody1280valid
2.0msbody160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (62.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)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize54.0ms

Local error

Found 4 expressions with local error:

3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
4.6b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.1b
(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)))

rewrite59.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)
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
19.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
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)))

series554.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
08513320
134782548
250022518

prune970.0ms

Filtered
180 candidates to 98 candidates (54.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16713180
Fresh011
Picked101
Done000
Total16814182

Merged error: 0.1b

Counts
182 → 14

localize48.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))))
3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.1b
(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)))))

rewrite45.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:
4.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
21.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)))))

series539.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))))
107.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
44.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
286.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)))))

simplify102.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07173060
129072355
250012328

prune921.0ms

Filtered
169 candidates to 92 candidates (54.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1681169
Fresh11213
Picked011
Done000
Total16914183

Merged error: 0.1b

Counts
183 → 14

localize50.0ms

Local error

Found 4 expressions with local error:

3.3b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
4.6b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
7.1b
(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)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite48.0ms

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

series465.0ms

Counts
4 → 12
Calls
4 calls:
106.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))
44.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
270.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)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify108.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07672997
131952275
250012248

prune905.0ms

Filtered
170 candidates to 91 candidates (53.5%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1700170
Fresh01212
Picked011
Done011
Total17014184

Merged error: 0.1b

Counts
184 → 14

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
sub-neg associate-*r/ *-commutative fma-udef
flip3-- flip-- unswap-sqr
Counts
4 → 76
Calls
4 calls:
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
18.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
1.0ms
(fma (* (fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* 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)))
1.0ms
(fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0))

series701.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
99.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
399.0ms
(fma (* (fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* 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)))
158.0ms
(fma (/ 1 (sqrt (+ (* x1 x1) 1.0))) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (sqrt (+ (* x1 x1) 1.0))) (- 3.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05741588
126441303
250021286

prune555.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh11011
Picked101
Done022
Total8913102

Merged error: 0.1b

Counts
102 → 13

regimes537.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
05551
15951
26051
36051

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s13955×body80valid
179.0ms421×body640valid
106.0ms320×body320valid
105.0ms193×body1280valid
42.0ms191×body160valid