Details

Time bar (total: 4.1s)

sample55.0ms

Algorithm
intervals
Results
28.0ms64×body1280valid
11.0ms48×body640valid
3.0ms27×body320valid
2.0ms95×body80valid
1.0ms22×body160valid
1.0ms97×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
052
152

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.5b

localize9.0ms

Local error

Found 1 expressions with local error:

4.9b
(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:
5.0ms
(log (+ 1.0 x))

series38.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
013199
136389
2129286
3500281

prune52.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize11.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)))))

rewrite46.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:
40.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)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0560763
12406633
25001632

prune354.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
2.1b
(log (- (* 1.0 1.0) (* x x)))
4.9b
(log (- 1.0 x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
22×add-sqr-sqrt
18×pow1 log-prod
16×add-cube-cbrt prod-diff
15×log-pow
log-div
distribute-lft-out--
add-exp-log flip3-- flip-- associate--r+ difference-of-squares
fma-neg associate--l+
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
associate--l- rem-log-exp associate--r-
sub-neg diff-log
Counts
3 → 87
Calls
3 calls:
18.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
9.0ms
(log (- (* 1.0 1.0) (* x x)))
6.0ms
(log (- 1.0 x))

series254.0ms

Counts
3 → 9
Calls
3 calls:
106.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
104.0ms
(log (- (* 1.0 1.0) (* x x)))
43.0ms
(log (- 1.0 x))

simplify48.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04281017
11446728
25002636

prune271.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

2.1b
(log (- (* 1.0 1.0) (* x x)))
4.9b
(log (- 1.0 x))
4.9b
(log (- 1.0 x))
4.9b
(log (- 1.0 x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×log-prod
14×add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt log-div
expm1-log1p-u flip3-- rem-log-exp log-pow add-cbrt-cube flip-- log1p-expm1-u add-log-exp difference-of-squares
distribute-lft-out--
Counts
4 → 71
Calls
4 calls:
9.0ms
(log (- (* 1.0 1.0) (* x x)))
6.0ms
(log (- 1.0 x))
6.0ms
(log (- 1.0 x))
6.0ms
(log (- 1.0 x))

series227.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(log (- (* 1.0 1.0) (* x x)))
44.0ms
(log (- 1.0 x))
38.0ms
(log (- 1.0 x))
43.0ms
(log (- 1.0 x))

simplify108.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0269489
1897439
23424429
35001429

prune444.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes91.0ms

Accuracy

98.9% (0.2b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.0s2229×body1280valid
367.0ms1701×body640valid
100.0ms889×body320valid
67.0ms2785×body80valid
41.0ms2791×body80nan
28.0ms396×body160valid