Details

Time bar (total: 8.8s)

sample98.0ms

Algorithm
intervals
Results
42.0ms362×body80valid
33.0ms367×body80nan

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (19.0ms)

IterNodesCost
04012
19212
226912
366912
4156511
5285511
6500111

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ y 0.0007936500793651) z)
0.1b
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.2b
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
6.4b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
10×add-exp-log add-cbrt-cube
times-frac
pow1
associate-*l*
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
associate-/r* associate-/l*
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- fma-udef div-inv distribute-lft-out
Counts
4 → 86
Calls
4 calls:
9.0ms
(* (+ y 0.0007936500793651) z)
19.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
24.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series279.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (+ y 0.0007936500793651) z)
45.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
123.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
84.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0446778
11546696
25002694

prune374.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
0.1b
(- (* (- x 0.5) (log x)) x)
0.2b
(* (- x 0.5) (log x))
6.4b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity
23×add-cube-cbrt
18×log-prod
12×associate--l+
11×associate-+l+ add-log-exp
distribute-rgt-in distribute-lft-in times-frac
add-exp-log add-cbrt-cube
pow1
prod-diff
associate-*l*
expm1-log1p-u associate-*r* log1p-expm1-u
fma-def associate-/r* associate-/l*
sub-neg flip3-- flip3-+ diff-log associate-*l/ sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative associate-+l- frac-2neg fma-neg div-exp pow-prod-down prod-exp clear-num log-pow *-commutative cbrt-unprod div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
32.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
8.0ms
(- (* (- x 0.5) (log x)) x)
11.0ms
(* (- x 0.5) (log x))
21.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series1.2s

Counts
4 → 12
Calls
4 calls:
433.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
437.0ms
(- (* (- x 0.5) (log x)) x)
252.0ms
(* (- x 0.5) (log x))
84.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0576925
12275825
25001802

prune477.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.5b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(cbrt x)
6.4b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 70
Calls
4 calls:
0.0ms
(cbrt x)
0.0ms
(cbrt x)
0.0ms
(cbrt x)
21.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series630.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt x)
180.0ms
(cbrt x)
188.0ms
(cbrt x)
84.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify100.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0223484
1699441
23468432
35001425

prune449.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
0.5b
(cbrt x)
5.2b
(pow x 1/3)
6.4b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
cbrt-prod add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow associate-/r* associate-/l*
pow1/3 associate-/l/
cbrt-undiv pow-to-exp pow-pow frac-2neg flip3-+ unpow1/3 div-exp pow-exp clear-num flip-+ div-inv sqr-pow
Counts
4 → 77
Calls
4 calls:
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(pow x 1/3)
21.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series629.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt x)
190.0ms
(cbrt x)
171.0ms
(pow x 1/3)
83.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify37.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0281489
11061429
25001423

prune456.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.5b

regimes428.0ms

Accuracy

83.8% (0.4b remaining)

Error of 4.2b against oracle of 3.8b and baseline of 6.0b

bsearch103.0ms

Steps
ItersRangePoint
9
543437206934558.9
4.3883984668024366e+23
7689132349616876.0

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04530
14530

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s11635×body80nan
1.3s11642×body80valid