Details

Time bar (total: 10.4s)

sample111.0ms

Algorithm
intervals
Results
56.0ms111×body1280valid
23.0ms79×body640valid
10.0ms265×body80nan
7.0ms40×body320valid
2.0ms19×body160valid
0.0msbody80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1256
2406
3616
4886
51046
61136
71136

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series165.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0318660
11025624
24261602
35001602

prune175.0ms

Filtered
88 candidates to 58 candidates (65.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 0.1b

Counts
89 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
72×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
41×*-un-lft-identity
38×add-cube-cbrt
26×add-exp-log unpow2
24×sqr-pow
17×unswap-sqr
10×prod-exp
div-exp add-log-exp
add-cbrt-cube
pow-to-exp pow-exp
pow1 associate-+r+ associate-*r/
flip3-+ frac-add flip-+
log-prod associate-*l* associate--l+ sum-log
+-commutative associate-+l+ flip3-- flip-- cbrt-unprod
cbrt-undiv distribute-rgt-in associate-+r- sub-neg distribute-rgt-out distribute-lft-in distribute-lft1-in diff-log pow-prod-down *-commutative div-inv distribute-lft-out
Counts
3 → 148
Calls
3 calls:
5.0ms
(+ (pow x 2) x)
11.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
23.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

series435.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (pow x 2) x)
337.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
59.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

simplify93.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08241222
141771022
250021022

prune370.0ms

Filtered
157 candidates to 102 candidates (65.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1561157
Fresh033
Picked011
Done000
Total1565161

Merged error: 0.1b

Counts
161 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow x 2) x)
0.0b
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
2.9b
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
75×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
44×*-un-lft-identity
41×add-cube-cbrt
27×add-exp-log
26×unpow2
24×sqr-pow
17×unswap-sqr
10×prod-exp add-log-exp
associate-*r/ div-exp add-cbrt-cube
frac-add
pow1 flip3-+ flip-+
pow-to-exp log-div log-prod exp-diff pow-exp
associate-+r+
exp-prod flip3-- flip--
associate-*l* exp-sum associate--l+ sum-log
+-commutative associate-+l+ cbrt-unprod
cbrt-undiv distribute-rgt-in associate-+r- sub-neg distribute-rgt-out distribute-lft-in distribute-lft1-in diff-log pow-prod-down log-pow *-commutative div-inv rem-exp-log distribute-lft-out
Counts
4 → 169
Calls
4 calls:
5.0ms
(+ (pow x 2) x)
11.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
21.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
12.0ms
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

series736.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ (pow x 2) x)
317.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
52.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
323.0ms
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

simplify102.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
08841658
138721503
250011472

prune506.0ms

Filtered
181 candidates to 119 candidates (65.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1801181
Fresh033
Picked101
Done011
Total1815186

Merged error: 0.1b

Counts
186 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
0.3b
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
1.6b
(exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))))
2.9b
(pow (exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
pow-unpow add-log-exp
add-exp-log add-cbrt-cube
unpow-prod-down pow-pow log-pow
exp-prod exp-to-pow pow1/3
pow-to-exp pow-exp rem-exp-log sqr-pow
Counts
4 → 57
Calls
4 calls:
1.0ms
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
1.0ms
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
2.0ms
(exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))))
4.0ms
(pow (exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))

series3.6s

Counts
4 → 12
Calls
4 calls:
362.0ms
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
349.0ms
(cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))
701.0ms
(exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))))
2.2s
(pow (exp (* (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))) (cbrt (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2))))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014923450
150023199

prune428.0ms

Filtered
69 candidates to 57 candidates (82.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh033
Picked101
Done011
Total69574

Merged error: 0.1b

Counts
74 → 5

regimes28.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3354×body1280valid
740.0ms2510×body640valid
308.0ms7999×body80nan
228.0ms1270×body320valid
72.0ms634×body160valid
12.0ms232×body80valid