Details

Time bar (total: 5.9s)

sample100.0ms

Algorithm
intervals
Results
54.0ms123×body1280valid
17.0ms71×body640valid
10.0ms270×body80nan
5.0ms38×body320valid
1.0ms13×body160valid
0.0ms11×body80valid

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: 57.6b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
8.0ms
(/ (+ 1.0 x) (- 1.0 x))
7.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

series163.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0318660
11025624
24261602
35001602

prune200.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite26.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:
20.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

series54.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0528643
12205526
25001525

prune290.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x)))
0.0b
(* (- 1.0 x) (- 1.0 x))
4.2b
(log (/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
21×add-sqr-sqrt
19×flip3-- flip--
16×add-exp-log log-prod associate-/r/
12×frac-times
11×pow1 add-cube-cbrt
10×add-cbrt-cube
times-frac
swap-sqr difference-of-squares
associate-*r/ associate-*l/ distribute-lft-out--
associate-*r* associate-*l*
div-exp associate-/l*
rem-log-exp prod-exp add-log-exp
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in cbrt-unprod div-inv associate-/l/
pow2 log-div frac-2neg pow-plus div-sub pow-prod-down clear-num associate-/r* pow-sqr log-pow *-commutative pow-prod-up unswap-sqr
Counts
3 → 107
Calls
3 calls:
13.0ms
(/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x)))
10.0ms
(* (- 1.0 x) (- 1.0 x))
11.0ms
(log (/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x))))

series218.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x)))
17.0ms
(* (- 1.0 x) (- 1.0 x))
147.0ms
(log (/ (- (* 1.0 1.0) (* x x)) (* (- 1.0 x) (- 1.0 x))))

simplify71.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0472979
12323790
25001720

prune217.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x)))))
0.0b
(* (- 1.0 x) (- (pow 1.0 3) (pow x 3)))
0.0b
(/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))
4.2b
(log (/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
74×add-sqr-sqrt
58×*-un-lft-identity
46×add-cube-cbrt
41×log-prod
36×difference-of-squares
30×add-exp-log
25×associate-*r*
22×associate-/r/
20×add-cbrt-cube
13×flip3-- flip--
12×unpow-prod-down cube-prod div-exp associate-/r* div-inv
10×flip3-+ flip-+ associate-/l/
frac-times sqr-pow
pow1 cbrt-undiv
distribute-lft-out--
associate-*l* associate-/l*
associate-*r/ rem-log-exp associate-*l/ prod-exp add-log-exp
cbrt-unprod
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num
difference-cubes log-div div-sub pow-prod-down log-pow *-commutative unswap-sqr
Counts
4 → 208
Calls
4 calls:
29.0ms
(/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x)))))
21.0ms
(* (- 1.0 x) (- (pow 1.0 3) (pow x 3)))
23.0ms
(/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))
29.0ms
(log (/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))))

series413.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x)))))
45.0ms
(* (- 1.0 x) (- (pow 1.0 3) (pow x 3)))
71.0ms
(/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))
206.0ms
(log (/ (- (* 1.0 1.0) (* x x)) (/ (* (- 1.0 x) (- (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (+ (* x x) (* 1.0 x))))))

simplify64.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011224096
150013784

prune778.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

regimes34.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.5s3387×body1280valid
606.0ms2474×body640valid
232.0ms8057×body80nan
188.0ms1293×body320valid
55.0ms619×body160valid
9.0ms227×body80valid