Details

Time bar (total: 3.8s)

sample51.0ms

Algorithm
intervals
Results
27.0ms70×body10240exit
10.0ms280×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.7b
(log (+ 1.0 (exp x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 45
Calls
3 calls:
5.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series127.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(- (log (+ 1.0 (exp x))) (* x y))
7.0ms
(+ 1.0 (exp x))
61.0ms
(log (+ 1.0 (exp x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune126.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.7b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
4.7b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
5.2b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
12×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 unpow-prod-down cube-prod
add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out
log-div pow-pow
pow-unpow exp-prod
flip3-+ rem-log-exp log-pow flip-+
cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- diff-log unpow3 pow-exp sum-cubes flip-- rem-cube-cbrt sqr-pow
Counts
4 → 73
Calls
4 calls:
2.0ms
(pow (exp x) 3)
12.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
7.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
19.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series267.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (exp x) 3)
90.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
46.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
106.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0363641
11502568
25001560

prune272.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
0.0b
(* 1/2 (pow x 2))
0.0b
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
log-prod add-cbrt-cube
pow1
unpow-prod-down log-div unswap-sqr
flip3-+ associate-*l* prod-exp associate--l+ sum-log flip-+
associate--l- unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- diff-log rem-log-exp pow-exp log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 71
Calls
4 calls:
10.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
5.0ms
(* 1/2 (pow x 2))
9.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
8.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series170.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
25.0ms
(* 1/2 (pow x 2))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
54.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0371575
11439529
25001520

prune193.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.7b
(log (+ (exp x) 1.0))
0.7b
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
12.9b
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
12×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log unpow-prod-down cube-prod add-log-exp
add-cbrt-cube
cube-div log-prod
pow-unpow
cube-mult log-div cbrt-div flip3-- flip3-+ unpow3 flip-- flip-+ distribute-lft-out sqr-pow
+-commutative pow-to-exp pow-pow pow1/3 rem-log-exp pow-exp sum-log log-pow rem-cbrt-cube rem-cube-cbrt
Counts
4 → 75
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
3.0ms
(log (+ (exp x) 1.0))
5.0ms
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
4.0ms
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

series260.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (exp x) 1.0)
57.0ms
(log (+ (exp x) 1.0))
132.0ms
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
62.0ms
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0372718
11445666
25002655

prune182.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes72.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
993.0ms2505×body10240exit
307.0ms8415×body80valid
69.0ms141×body1280valid
65.0ms252×body640valid
27.0ms176×body320valid
9.0ms103×body160valid