Details

Time bar (total: 8.9s)

sample158.0ms

Algorithm
intervals
Results
101.0ms113×body1280valid
34.0ms89×body640valid
7.0ms33×body320valid
3.0ms256×pre80true
2.0ms15×body160valid
0.0msbody80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 62.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
5.1b
(log (+ 1.0 x))
5.1b
(log (- 1.0 x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-sqr-sqrt
16×times-frac
15×pow1 add-cube-cbrt
12×log-pow
log-prod
add-exp-log
log-div
add-cbrt-cube
associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- div-sub rem-log-exp flip--
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 75
Calls
3 calls:
16.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
4.0ms
(log (+ 1.0 x))
6.0ms
(log (- 1.0 x))

series216.0ms

Counts
3 → 9
Calls
3 calls:
127.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
41.0ms
(log (+ 1.0 x))
48.0ms
(log (- 1.0 x))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0452686
11669638
25001623

prune205.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 60.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
92×times-frac
83×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
49×*-un-lft-identity
47×add-cube-cbrt
29×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×pow1 div-exp prod-exp add-cbrt-cube
pow-to-exp pow-exp
log-prod log-pow
log-div associate-/l*
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv flip3-- div-sub flip-- cbrt-unprod div-inv
frac-2neg associate-*r/ rem-log-exp pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 165
Calls
3 calls:
37.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
15.0ms
(/ (log (- 1.0 x)) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))
6.0ms
(log (- 1.0 x))

series241.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
136.0ms
(/ (log (- 1.0 x)) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))
48.0ms
(log (- 1.0 x))

simplify92.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09281453
138371286
250011286

prune695.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
158×add-sqr-sqrt
136×associate-*r*
112×unpow-prod-down
94×*-un-lft-identity
82×add-cube-cbrt
51×add-exp-log
48×unpow2 sqr-pow
34×unswap-sqr
20×prod-exp
19×div-exp
15×add-cbrt-cube
12×pow-to-exp pow-exp
11×pow1
distribute-lft-out--
associate-*l* associate-/l*
log-pow cbrt-unprod difference-of-squares
cbrt-undiv expm1-log1p-u associate-/r* log1p-expm1-u div-inv add-log-exp
associate-*r/ pow-prod-down *-commutative associate-/l/
flip3-- frac-2neg div-sub clear-num flip--
Counts
3 → 268
Calls
3 calls:
35.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
37.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
55.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

series236.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
57.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
127.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

simplify95.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07532567
136362134
250022133

prune761.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
98×times-frac
91×add-sqr-sqrt
68×associate-*r*
61×*-un-lft-identity
56×unpow-prod-down
49×add-cube-cbrt
29×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
11×add-cbrt-cube
10×pow1 div-exp prod-exp
distribute-lft-out--
pow-to-exp pow-exp associate-/l*
log1p-expm1-u
expm1-log1p-u log-pow add-log-exp difference-of-squares
associate-*l* associate-/r*
cbrt-undiv cbrt-unprod div-inv associate-/l/
log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 associate-*r/ pow-prod-down clear-num *-commutative flip-- expm1-udef
Counts
4 → 178
Calls
4 calls:
36.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0ms
(expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))))
0.0ms
(log1p (expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))))
56.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

series613.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
180.0ms
(expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))))
252.0ms
(log1p (expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))))
125.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

simplify89.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08292287
134152038
250012035

prune585.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes37.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01816
11816

end0.0ms

sample4.4s

Algorithm
intervals
Results
2.8s3346×body1280valid
997.0ms2520×body640valid
250.0ms1304×body320valid
91.0ms8000×pre80true
67.0ms626×body160valid
9.0ms204×body80valid