Details

Time bar (total: 7.2s)

sample63.0ms

Algorithm
intervals
Results
20.0ms390×body80valid
19.0ms357×body80nan

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
04012
19212
226912
366912
4156511
5285511
6500111

prune9.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.0027777777777778)
0.1b
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.1b
(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)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* prod-diff associate-/r* associate-/l*
flip3-- associate-*l/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod flip-+ fma-udef div-inv unswap-sqr
Counts
4 → 81
Calls
4 calls:
9.0ms
(- (* (+ y 0.0007936500793651) z) 0.0027777777777778)
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)))
20.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series281.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0432812
11472709
25003707

prune347.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.7b

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))
0.1b
(- (* (- x 0.5) (log x)) x)
6.4b
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

rewrite75.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:
33.0ms
(+ (- (* (- x 0.5) (log x)) x) 0.91893853320467)
11.0ms
(* (- x 0.5) (log x))
7.0ms
(- (* (- x 0.5) (log x)) x)
21.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series1.4s

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

simplify70.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0576925
12275825
25001802

prune468.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.7b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
60×add-sqr-sqrt
58×add-cube-cbrt *-un-lft-identity
19×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
div-exp
pow1
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l*
rec-exp frac-2neg 1-exp associate-*l/ clear-num
flip3-- pow-flip pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 149
Calls
4 calls:
22.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
0.0ms
(fma (log x) (- x 0.5) (- (/ 1 (/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333))) (- x 0.91893853320467)))
22.0ms
(/ 1 (/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333)))
15.0ms
(/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333))

series381.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z)
126.0ms
(fma (log x) (- x 0.5) (- (/ 1 (/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333))) (- x 0.91893853320467)))
93.0ms
(/ 1 (/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333)))
115.0ms
(/ x (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333))

simplify80.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06821925
129641734
250011648

prune498.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.4b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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)
1.0ms
(cbrt x)
0.0ms
(cbrt x)
20.0ms
(/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)

series643.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0223484
1699441
23468432
35001425

prune395.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.4b

regimes387.0ms

Accuracy

60% (1.7b remaining)

Error of 3.5b against oracle of 1.9b and baseline of 6.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05943
15943

end0.0ms

sample1.7s

Algorithm
intervals
Results
625.0ms11878×body80valid
534.0ms11845×body80nan