Details

Time bar (total: 5.8s)

sample118.0ms

Algorithm
intervals
Results
58.0ms108×body1280valid
24.0ms81×body640valid
14.0ms273×body80nan
8.0ms42×body320valid
2.0ms18×body160valid
1.0msbody80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1256
2406
3616
4886
51046
61136
71136

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.5b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
41×add-sqr-sqrt
40×times-frac
26×log-prod
23×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log
associate-/r*
associate-/r/ add-cbrt-cube associate-/l*
pow1
flip3-- div-exp rem-log-exp flip-- div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 82
Calls
2 calls:
10.0ms
(/ (+ 1.0 x) (- 1.0 x))
5.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

series153.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ (+ 1.0 x) (- 1.0 x))
122.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

simplify118.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0318660
11025624
24261602
35001602

prune188.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
69×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
35×add-cube-cbrt *-un-lft-identity
24×add-exp-log unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
pow-to-exp pow-exp add-cbrt-cube
pow1 associate-*l*
cbrt-unprod
cbrt-undiv associate-*r/ pow-prod-down *-commutative div-inv add-log-exp
Counts
1 → 110
Calls
1 calls:
29.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

series50.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

simplify56.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0528643
12205526
25001525

prune278.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 x))
0.0b
(+ (log (+ 1.0 x)) (log (/ 1 (- 1.0 x))))
4.5b
(log (/ 1 (- 1.0 x)))
4.7b
(log (+ 1.0 x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
54×add-sqr-sqrt
50×log-prod
45×times-frac
34×add-cube-cbrt
21×associate-+r+
14×add-exp-log
12×pow1
10×distribute-lft-out-- difference-of-squares
log-pow
log-div associate-/r/ add-cbrt-cube distribute-lft-out
rem-log-exp associate-/r*
associate-+l+ div-exp add-log-exp
flip3-- flip3-+ log-rec flip-- flip-+ div-inv associate-/l*
associate-+l- rec-exp pow-flip 1-exp inv-pow
cbrt-undiv +-commutative associate-+r- frac-2neg unsub-neg clear-num sum-log
Counts
4 → 138
Calls
4 calls:
5.0ms
(/ 1 (- 1.0 x))
11.0ms
(+ (log (+ 1.0 x)) (log (/ 1 (- 1.0 x))))
4.0ms
(log (/ 1 (- 1.0 x)))
2.0ms
(log (+ 1.0 x))

series314.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1 (- 1.0 x))
178.0ms
(+ (log (+ 1.0 x)) (log (/ 1 (- 1.0 x))))
66.0ms
(log (/ 1 (- 1.0 x)))
46.0ms
(log (+ 1.0 x))

simplify45.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0474939
11533839
25001735

prune256.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0b
(* x (+ 2.0 (* x 0.5)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
74×add-sqr-sqrt
71×associate-*r*
56×unpow-prod-down
38×add-cube-cbrt *-un-lft-identity
27×add-exp-log
24×unpow2 sqr-pow
18×unswap-sqr
11×prod-exp
div-exp add-cbrt-cube
pow1 pow-to-exp associate-*l* pow-exp
associate-*r/ cbrt-unprod
pow-prod-down *-commutative add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in flip3-+ flip-+ div-inv
Counts
2 → 132
Calls
2 calls:
26.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
7.0ms
(* x (+ 2.0 (* x 0.5)))

series118.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
66.0ms
(* x (+ 2.0 (* x 0.5)))

simplify79.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0659755
13042629
25001628

prune332.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes26.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3398×body1280valid
748.0ms2534×body640valid
425.0ms8176×body80nan
242.0ms1250×body320valid
84.0ms636×body160valid
14.0ms182×body80valid