Details

Time bar (total: 7.6s)

sample37.0ms

Algorithm
intervals
Results
19.0ms510×body80valid

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 9 (90.0ms)

IterNodesCost
0216
1526
21716
34016
48296
510906
616106
719566
822526
923675
1023675

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.3b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) (- (* z z) t)))
5.9b
(* (* y 4.0) (- (* z z) t))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×prod-diff
10×distribute-rgt-in distribute-lft-in associate--r+
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
sub-neg
associate-*r* add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
fma-neg diff-log associate-*l* *-commutative difference-of-squares
Counts
2 → 59
Calls
2 calls:
5.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
15.0ms
(* (* y 4.0) (- (* z z) t))

series166.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
76.0ms
(* (* y 4.0) (- (* z z) t))

simplify60.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0385490
11737408
25001399

prune173.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 3.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t)))
0.2b
(* (* (* y 4.0) (fma z z t)) (- (* z z) t))
5.9b
(* (* y 4.0) (fma z z t))
24.8b
(/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
18×pow1
15×prod-diff prod-exp cbrt-unprod
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
pow-prod-down
associate-*r*
distribute-rgt-in distribute-lft-in times-frac add-log-exp
cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-/r/ log1p-expm1-u
sub-neg flip3-- associate-/r* flip--
flip3-+ associate-*l* *-commutative flip-+ fma-udef div-inv associate-/l/ difference-of-squares
frac-2neg fma-neg diff-log clear-num associate-/l*
Counts
4 → 114
Calls
4 calls:
17.0ms
(- (* x x) (/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t)))
29.0ms
(* (* (* y 4.0) (fma z z t)) (- (* z z) t))
7.0ms
(* (* y 4.0) (fma z z t))
31.0ms
(/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t))

series562.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(- (* x x) (/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t)))
156.0ms
(* (* (* y 4.0) (fma z z t)) (- (* z z) t))
72.0ms
(* (* y 4.0) (fma z z t))
154.0ms
(/ (* (* (* y 4.0) (fma z z t)) (- (* z z) t)) (+ (* z z) t))

simplify161.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
07491631
148461195
250011195

prune370.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ 1 (/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t)))
5.9b
(* (* y 4.0) (fma z z t))
6.1b
(/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t))
9.9b
(/ (fma z z t) (* (* y 4.0) (fma z z t)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
308×times-frac
160×add-sqr-sqrt
124×add-cube-cbrt *-un-lft-identity
82×add-exp-log
52×add-cbrt-cube
41×div-exp
39×associate-/r*
36×difference-of-squares
28×div-inv
22×cbrt-undiv
18×prod-exp
13×associate-/l*
12×cbrt-unprod
11×associate-/r/
10×pow1
rec-exp flip3-- 1-exp flip--
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r* pow-prod-down clear-num
fma-udef
distribute-rgt-in pow-flip distribute-lft-in associate-*l* *-commutative associate-/l/ inv-pow
Counts
4 → 283
Calls
4 calls:
26.0ms
(/ 1 (/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t)))
7.0ms
(* (* y 4.0) (fma z z t))
15.0ms
(/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t))
7.0ms
(/ (fma z z t) (* (* y 4.0) (fma z z t)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ 1 (/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t)))
75.0ms
(* (* y 4.0) (fma z z t))
44.0ms
(/ (/ (fma z z t) (* (* y 4.0) (fma z z t))) (- (* z z) t))
16.0ms
(/ (fma z z t) (* (* y 4.0) (fma z z t)))

simplify83.0ms

Algorithm
egg-herbie
Counts
295 → 295
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
011063944
150023302

prune1.1s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 3.2b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t))))
0.2b
(/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1)))
5.9b
(* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t)))

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
1332×times-frac
552×cbrt-prod
549×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
281×associate-*l*
116×add-exp-log
93×div-inv
57×div-exp
46×associate-/r*
40×distribute-rgt-in distribute-lft-in
36×prod-exp add-cbrt-cube
27×cbrt-undiv
25×prod-diff
20×associate--r+
18×cbrt-unprod
sub-neg
pow1
rec-exp 1-exp associate-*r/ associate-/l*
add-log-exp
expm1-log1p-u flip3-- pow-prod-down flip-- log1p-expm1-u
frac-times associate-/r/
frac-2neg fma-neg diff-log associate-*r* associate-*l/ clear-num *-commutative
Counts
3 → 736
Calls
3 calls:
8.0ms
(- (* x x) (* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t))))
23.0ms
(/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1)))
121.0ms
(* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t)))

series188.0ms

Counts
3 → 9
Calls
3 calls:
90.0ms
(- (* x x) (* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t))))
18.0ms
(/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1)))
79.0ms
(* (/ (cbrt 1) (/ (/ 1 (* y 4.0)) (cbrt 1))) (* (cbrt 1) (- (* z z) t)))

simplify155.0ms

Algorithm
egg-herbie
Counts
745 → 745
Iterations

Useful iterations: 1 (56.0ms)

IterNodesCost
0234110197
150019431

prune2.4s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.2b

regimes414.0ms

Accuracy

86.7% (0.4b remaining)

Error of 3.3b against oracle of 2.9b and baseline of 6.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02516
12516

end0.0ms

sample889.0ms

Algorithm
intervals
Results
490.0ms15817×body80valid