Details

Time bar (total: 12.1s)

sample76.0ms

Algorithm
intervals
Results
40.0ms495×body80valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
06715
122513
282312
3302812
4500112

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.6b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
10.0ms
(* (* j 27.0) k)
7.0ms
(* (* x 18.0) y)
0.0ms
(fma t (- (* (* (* x 18.0) y) z) (* a 4.0)) (- (* b c) (fma x (* 4.0 i) (* (* j 27.0) k))))
22.0ms
(* (* (* x 18.0) y) z)

series3.1s

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

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0326447
11657364
25001364

prune363.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 1.2b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 4.0) i)
0.4b
(* (* x 18.0) y)
3.4b
(* (* (* (* x 18.0) y) z) t)
6.4b
(* (* (* x 18.0) y) z)

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
37×pow1 add-exp-log add-cbrt-cube
22×pow-prod-down prod-exp cbrt-unprod
12×associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*l* *-commutative log1p-expm1-u add-log-exp
Counts
4 → 89
Calls
4 calls:
6.0ms
(* (* x 4.0) i)
7.0ms
(* (* x 18.0) y)
78.0ms
(* (* (* (* x 18.0) y) z) t)
21.0ms
(* (* (* x 18.0) y) z)

series126.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (* x 4.0) i)
22.0ms
(* (* x 18.0) y)
52.0ms
(* (* (* (* x 18.0) y) z) t)
30.0ms
(* (* (* x 18.0) y) z)

simplify80.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0363453
12132350
25002350

prune375.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.7b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* x 18.0) y)
0.4b
(* 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)))))
6.4b
(* (* (* x 18.0) y) z)

rewrite40.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:
7.0ms
(* (* x 18.0) y)
6.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)))))
25.0ms
(* (* (* x 18.0) y) z)

series3.0s

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (* x 18.0) y)
19.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)))))
30.0ms
(* (* (* x 18.0) y) z)

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0318446
11546363
25002363

prune370.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.7b

localize33.0ms

Local error

Found 4 expressions with local error:

6.4b
(* (* (* x 18.0) y) z)
9.4b
(cbrt (* j (* 27.0 k)))
9.4b
(cbrt (* j (* 27.0 k)))
9.4b
(cbrt (* j (* 27.0 k)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*r*
associate-*l* *-commutative
Counts
4 → 56
Calls
4 calls:
21.0ms
(* (* (* x 18.0) y) z)
4.0ms
(cbrt (* j (* 27.0 k)))
4.0ms
(cbrt (* j (* 27.0 k)))
5.0ms
(cbrt (* j (* 27.0 k)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* (* x 18.0) y) z)
108.0ms
(cbrt (* j (* 27.0 k)))
108.0ms
(cbrt (* j (* 27.0 k)))
107.0ms
(cbrt (* j (* 27.0 k)))

simplify48.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0239349
1984300
25001276

prune400.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.7b

regimes1.0s

Accuracy

20.9% (4.3b remaining)

Error of 5.1b against oracle of 0.8b and baseline of 6.2b

bsearch349.0ms

Steps
ItersRangePoint
6
2.723856949694799e-105
2.551025948086839e-104
8.871261806498495e-105
9
3.2424715349567815e-197
2.5782657933187486e-192
4.814264278569085e-197
5
-4.314990309868086e-122
-1.1368067314492313e-122
-1.6754953310686585e-122

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07874
17874

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.2s16194×body80valid