Details

Time bar (total: 5.0s)

sample59.0ms

Algorithm
intervals
Results
35.0ms80×body1280valid
10.0ms50×body640valid
3.0ms28×body320valid
2.0ms84×body80valid
1.0ms92×body80nan
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.3b

localize3.0ms

Local error

Found 1 expressions with local error:

3.6b
(log (+ 1.0 x))

rewrite3.0ms

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

series44.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
012295
132786
2116181
3500278

prune40.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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 add-log-exp
pow1
associate-*r/ associate-*l*
diff-log frac-sub cbrt-unprod
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 126
Calls
2 calls:
6.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
20.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))

series93.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0676882
12962760
25001756

prune274.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 1.0 x))
0.3b
(- (log (+ (pow 1.0 3) (pow x 3))) (log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
16.0b
(log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
16.1b
(log (+ (pow 1.0 3) (pow x 3)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
24×log-prod
10×pow1 add-sqr-sqrt distribute-lft-out
associate--l+
add-cube-cbrt unpow-prod-down log-div cube-prod
add-exp-log log-pow add-log-exp
flip3-+ add-cbrt-cube flip-+ distribute-lft-out--
associate--r+
associate--l- sub-neg flip3-- diff-log rem-log-exp sum-cubes flip-- associate--r-
distribute-rgt-out-- difference-of-squares
Counts
4 → 80
Calls
4 calls:
3.0ms
(- (* x x) (* 1.0 x))
19.0ms
(- (log (+ (pow 1.0 3) (pow x 3))) (log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
5.0ms
(log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
11.0ms
(log (+ (pow 1.0 3) (pow x 3)))

series523.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* x x) (* 1.0 x))
141.0ms
(- (log (+ (pow 1.0 3) (pow x 3))) (log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
70.0ms
(log (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
254.0ms
(log (+ (pow 1.0 3) (pow x 3)))

simplify51.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0452939
11659889
25001852

prune248.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2)))))
0.1b
(* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3)))
0.2b
(* 0.5 (/ (pow x 2) (pow 1.0 2)))
12.7b
(+ (+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (- x (+ (pow x 2) (/ (pow x 3) (pow 1.0 2))))))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
216×associate-*r*
188×add-sqr-sqrt
136×unpow-prod-down
112×add-cube-cbrt *-un-lft-identity
80×cube-prod
56×sqr-pow
50×add-exp-log
34×unswap-sqr
24×cube-mult unpow3 unpow2
20×prod-exp
18×div-exp add-log-exp
16×associate-*r/
14×frac-add add-cbrt-cube
12×pow-to-exp pow-exp
sum-log
pow1
flip3-+ flip-+
associate-*l*
associate-+r+
flip3-- flip-- cbrt-unprod
cbrt-undiv +-commutative distribute-rgt-in sub-neg distribute-lft-in pow-prod-down *-commutative div-inv
associate-+l+
Counts
4 → 341
Calls
4 calls:
18.0ms
(+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2)))))
39.0ms
(* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3)))
20.0ms
(* 0.5 (/ (pow x 2) (pow 1.0 2)))
26.0ms
(+ (+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (- x (+ (pow x 2) (/ (pow x 3) (pow 1.0 2))))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
227.0ms
(+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2)))))
76.0ms
(* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3)))
53.0ms
(* 0.5 (/ (pow x 2) (pow 1.0 2)))
104.0ms
(+ (+ (* 0.3333333333333333 (/ (pow x 3) (pow 1.0 3))) (+ (* 1.0 (pow x 3)) (* 0.5 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (- x (+ (pow x 2) (/ (pow x 3) (pow 1.0 2))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
016463399
150023046

prune981.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes67.0ms

Accuracy

99% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 21.3b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03623
13623

end0.0ms

sample1.7s

Algorithm
intervals
Results
989.0ms2283×body1280valid
344.0ms1687×body640valid
85.0ms839×body320valid
57.0ms2804×body80valid
37.0ms2640×body80nan
23.0ms387×body160valid