Details

Time bar (total: 14.7s)

sample85.0ms

Algorithm
intervals
Results
37.0ms561×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
06715
122513
282312
3302812
4500112

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 3.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 18.0) y)
0.3b
(* (* j 27.0) k)
1.9b
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* j 27.0) k))))
5.4b
(* (* (* x 18.0) y) z)

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1 add-exp-log add-cbrt-cube
12×pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* *-commutative
fma-udef
Counts
4 → 73
Calls
4 calls:
17.0ms
(* (* x 18.0) y)
16.0ms
(* (* j 27.0) k)
0.0ms
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* j 27.0) k))))
52.0ms
(* (* (* x 18.0) y) z)

series2.7s

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* x 18.0) y)
15.0ms
(* (* j 27.0) k)
2.6s
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* j 27.0) k))))
23.0ms
(* (* (* x 18.0) y) z)

simplify51.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0326447
11657364
25001364

prune337.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 1.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 18.0) y)
0.3b
(* j (* 27.0 k))
1.9b
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* j (* 27.0 k)))))
5.4b
(* (* (* x 18.0) y) z)

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1 add-exp-log add-cbrt-cube
12×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r*
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative
fma-udef
Counts
4 → 73
Calls
4 calls:
17.0ms
(* (* x 18.0) y)
15.0ms
(* j (* 27.0 k))
0.0ms
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* j (* 27.0 k)))))
54.0ms
(* (* (* x 18.0) y) z)

series2.9s

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (* x 18.0) y)
15.0ms
(* j (* 27.0 k))
2.9s
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* j (* 27.0 k)))))
23.0ms
(* (* (* x 18.0) y) z)

simplify49.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0318446
11546363
25002363

prune338.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 1.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 18.0) y)
0.3b
(* j (* 27.0 k))
2.0b
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
5.4b
(* (* (* x 18.0) y) z)

rewrite284.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
13×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt
10×associate-*r*
add-cube-cbrt *-un-lft-identity
associate-*l*
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
sub-neg associate-*r/ prod-diff
flip3-- flip-- unswap-sqr
Counts
4 → 91
Calls
4 calls:
17.0ms
(* (* x 18.0) y)
15.0ms
(* j (* 27.0 k))
197.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
52.0ms
(* (* (* x 18.0) y) z)

series157.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* x 18.0) y)
15.0ms
(* j (* 27.0 k))
98.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
23.0ms
(* (* (* x 18.0) y) z)

simplify63.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0420525
12107445
25002445

prune405.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 1.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt j)
0.6b
(cbrt j)
1.9b
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* (cbrt j) (cbrt j)) (* (cbrt j) (* 27.0 k))))))
5.4b
(* (* (* x 18.0) y) z)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r*
pow1/3
associate-*l* *-commutative fma-udef
Counts
4 → 59
Calls
4 calls:
1.0ms
(cbrt j)
1.0ms
(cbrt j)
0.0ms
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* (cbrt j) (cbrt j)) (* (cbrt j) (* 27.0 k))))))
67.0ms
(* (* (* x 18.0) y) z)

series3.1s

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt j)
166.0ms
(cbrt j)
2.8s
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* (cbrt j) (cbrt j)) (* (cbrt j) (* 27.0 k))))))
24.0ms
(* (* (* x 18.0) y) z)

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0248437
11077368
25002362

prune347.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 1.5b

regimes1.1s

Accuracy

51.1% (1.7b remaining)

Error of 3.9b against oracle of 2.2b and baseline of 5.7b

bsearch171.0ms

Steps
ItersRangePoint
5
13.661351043940357
38.0989092815488
31.712880063023725
6
-5.499525655678049e-77
-8.313713533774226e-78
-4.995746752057706e-77

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06842
16842

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.0s16237×body80valid