Details

Time bar (total: 3.7s)

sample62.0ms

Algorithm
intervals
Results
36.0ms84×body1280valid
11.0ms61×body640valid
2.0ms82×body80valid
1.0ms13×body320valid
1.0ms101×body80nan
1.0ms16×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.8b

localize4.0ms

Local error

Found 1 expressions with local error:

4.2b
(log (+ 1.0 x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
expm1-log1p-u flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
Counts
1 → 17
Calls
1 calls:
4.0ms
(log (+ 1.0 x))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(log (+ 1.0 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
013199
136389
2129286
3500281

prune46.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0b
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
70×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
36×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp
pow1
associate-*l*
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv associate-*r/ pow-prod-down *-commutative fma-udef div-inv
Counts
2 → 122
Calls
2 calls:
38.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0ms
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

series91.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
39.0ms
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0560832
12867631
25002630

prune296.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 x))
0.0b
(sqrt (+ 1.0 x))
4.3b
(log (sqrt (+ 1.0 x)))
4.3b
(log (sqrt (+ 1.0 x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt sqrt-prod
14×log-prod
10×pow1 add-cube-cbrt
sqrt-div
add-exp-log log-pow
expm1-log1p-u log-div sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
rem-sqrt-square rem-log-exp hypot-def
Counts
4 → 82
Calls
4 calls:
7.0ms
(sqrt (+ 1.0 x))
10.0ms
(sqrt (+ 1.0 x))
5.0ms
(log (sqrt (+ 1.0 x)))
5.0ms
(log (sqrt (+ 1.0 x)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ 1.0 x))
28.0ms
(sqrt (+ 1.0 x))
79.0ms
(log (sqrt (+ 1.0 x)))
80.0ms
(log (sqrt (+ 1.0 x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0187508
1531462
22062442
35002428

prune204.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (pow (log (sqrt (+ 1.0 x))) 3))
0.3b
(pow (log (sqrt (+ 1.0 x))) 3)
4.3b
(log (sqrt (+ 1.0 x)))
4.3b
(log (sqrt (+ 1.0 x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod *-un-lft-identity log-pow
17×pow1
14×add-sqr-sqrt add-cube-cbrt log-prod
12×unpow-prod-down cube-prod
sqrt-prod
add-exp-log
sqrt-pow1 pow1/2
add-cbrt-cube
expm1-log1p-u log-div sqrt-div log1p-expm1-u add-log-exp
pow-unpow
cube-mult flip3-+ unpow3 rem-log-exp flip-+ distribute-lft-out sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 104
Calls
4 calls:
3.0ms
(cbrt (pow (log (sqrt (+ 1.0 x))) 3))
4.0ms
(pow (log (sqrt (+ 1.0 x))) 3)
6.0ms
(log (sqrt (+ 1.0 x)))
5.0ms
(log (sqrt (+ 1.0 x)))

series418.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(cbrt (pow (log (sqrt (+ 1.0 x))) 3))
181.0ms
(pow (log (sqrt (+ 1.0 x))) 3)
79.0ms
(log (sqrt (+ 1.0 x)))
79.0ms
(log (sqrt (+ 1.0 x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0339726
11245668
25001633

prune221.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes85.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample1.7s

Algorithm
intervals
Results
989.0ms2276×body1280valid
345.0ms1702×body640valid
81.0ms807×body320valid
57.0ms2813×body80valid
32.0ms2609×body80nan
24.0ms402×body160valid