Details

Time bar (total: 7.5s)

sample58.0ms

Algorithm
intervals
Results
20.0ms379×body80valid
15.0ms340×body80nan

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
04012
19212
226912
366912
4156511
5285511
6500111

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.2b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
6.0ms
(* (+ y 0.0007936500793651) z)
1.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
9.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
12.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series281.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (+ y 0.0007936500793651) z)
127.0ms
(fma (log x) (- x 0.5) (- (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x) (- x 0.91893853320467)))
38.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
89.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0446778
11546696
25002694

prune392.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.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:
7.0ms
(* (- x 0.5) (log x))
12.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
8.0ms
(- (* (- x 0.5) (log x)) x)
13.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series1.4s

Counts
4 → 12
Calls
4 calls:
260.0ms
(* (- x 0.5) (log x))
438.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
604.0ms
(- (* (- x 0.5) (log x)) x)
86.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0576925
12275825
25001802

prune477.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
4.8b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite18.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:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
12.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series641.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(cbrt x)
183.0ms
(cbrt x)
181.0ms
(cbrt x)
87.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

simplify109.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0223484
1699441
23468432
35001425

prune436.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
4.8b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)
5.0b
(pow x 1/3)

rewrite19.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:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
12.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)
2.0ms
(pow x 1/3)

series627.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt x)
181.0ms
(cbrt x)
86.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)
179.0ms
(pow x 1/3)

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0281489
11061429
25001423

prune453.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.0b

regimes421.0ms

Accuracy

88.7% (0.3b remaining)

Error of 3.9b against oracle of 3.7b and baseline of 6.0b

bsearch86.0ms

Steps
ItersRangePoint
8
2.7511213928627524e+19
1.2829957220891316e+24
5.6102466431610146e+20

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05531
15731
25731

end0.0ms

sample1.7s

Algorithm
intervals
Results
622.0ms11726×body80valid
534.0ms11581×body80nan