Details

Time bar (total: 2.7s)

sample41.0ms

Algorithm
intervals
Results
17.0ms96×body1280valid
5.0ms42×body640valid
4.0ms167×body80valid
1.0ms17×body320valid
1.0ms10×body160valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1183
2263
3483
41103
53183
616233
750013

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.8b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(exp (* a x))
2.6b
(- (exp (* a x)) 1.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg exp-prod flip3-- exp-to-pow diff-log flip-- rem-exp-log distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
1.0ms
(exp (* a x))
4.0ms
(- (exp (* a x)) 1.0)

series16.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(exp (* a x))
12.0ms
(- (exp (* a x)) 1.0)

simplify39.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0115135
1333127
21116125
35001125

prune60.0ms

Filtered
30 candidates to 20 candidates (33.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 6.8b

Counts
31 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* a x))
0.0b
(exp (* a x))
0.0b
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (- (sqrt (exp (* a x))) (sqrt 1.0)))
2.6b
(- (sqrt (exp (* a x))) (sqrt 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×*-un-lft-identity
14×sqrt-prod
10×add-log-exp
associate-*r*
difference-of-squares
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*l*
frac-times flip3-- flip-- distribute-lft-out--
sub-neg flip3-+ flip-+
distribute-rgt-in exp-prod exp-to-pow distribute-lft-in associate-*r/ associate-*l/ rem-exp-log distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 76
Calls
4 calls:
2.0ms
(exp (* a x))
2.0ms
(exp (* a x))
14.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (- (sqrt (exp (* a x))) (sqrt 1.0)))
6.0ms
(- (sqrt (exp (* a x))) (sqrt 1.0))

series39.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(exp (* a x))
4.0ms
(exp (* a x))
20.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (- (sqrt (exp (* a x))) (sqrt 1.0)))
9.0ms
(- (sqrt (exp (* a x))) (sqrt 1.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0262833
11208723
25003698

prune126.0ms

Filtered
88 candidates to 56 candidates (36.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86288
Fresh246
Picked101
Done000
Total89695

Merged error: 6.8b

Counts
95 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (sqrt (exp (* a x))) (sqrt 1.0)))
0.0b
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (log (exp (- (sqrt (exp (* a x))) (sqrt 1.0)))))
2.6b
(log (exp (- (sqrt (exp (* a x))) (sqrt 1.0))))
2.6b
(- (sqrt (exp (* a x))) (sqrt 1.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
32×*-un-lft-identity
27×exp-prod
26×sqrt-prod
20×log-pow
16×difference-of-squares
15×log-prod
13×associate-*r*
12×add-cube-cbrt
add-log-exp
pow1 exp-sum distribute-lft-out--
add-exp-log add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*l*
exp-diff diff-log associate-*l/ rem-exp-log distribute-lft-out
log-div flip3-- flip3-+ rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 105
Calls
4 calls:
7.0ms
(exp (- (sqrt (exp (* a x))) (sqrt 1.0)))
16.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (log (exp (- (sqrt (exp (* a x))) (sqrt 1.0)))))
7.0ms
(log (exp (- (sqrt (exp (* a x))) (sqrt 1.0))))
6.0ms
(- (sqrt (exp (* a x))) (sqrt 1.0))

series55.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(exp (- (sqrt (exp (* a x))) (sqrt 1.0)))
20.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (log (exp (- (sqrt (exp (* a x))) (sqrt 1.0)))))
9.0ms
(log (exp (- (sqrt (exp (* a x))) (sqrt 1.0))))
11.0ms
(- (sqrt (exp (* a x))) (sqrt 1.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03221204
112391037
25001989

prune182.0ms

Filtered
117 candidates to 71 candidates (39.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1143117
Fresh055
Picked101
Done000
Total1158123

Merged error: 2.0b

Counts
123 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* a x))
0.0b
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (+ (- 1 (sqrt 1.0)) (* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))))
1.2b
(* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))
7.5b
(* (* 1/8 (pow a 2)) x)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×add-exp-log
17×flip3-+ flip-+
13×add-sqr-sqrt *-un-lft-identity add-cbrt-cube
12×frac-times frac-add
10×pow1
add-cube-cbrt associate-*r* associate-*l* prod-exp
flip3-- flip-- add-log-exp
cbrt-unprod
pow-prod-down *-commutative
distribute-rgt-in distribute-lft-in associate-*l/ sqrt-prod distribute-lft-out unswap-sqr
pow-to-exp exp-prod exp-to-pow pow-exp rem-exp-log
Counts
4 → 93
Calls
4 calls:
2.0ms
(exp (* a x))
16.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (+ (- 1 (sqrt 1.0)) (* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))))
5.0ms
(* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))
6.0ms
(* (* 1/8 (pow a 2)) x)

series57.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(exp (* a x))
36.0ms
(* (+ (sqrt (exp (* a x))) (sqrt 1.0)) (+ (- 1 (sqrt 1.0)) (* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))))
13.0ms
(* x (+ (* 1/2 a) (* (* 1/8 (pow a 2)) x)))
4.0ms
(* (* 1/8 (pow a 2)) x)

simplify40.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08271697
150011605

prune258.0ms

Filtered
105 candidates to 74 candidates (29.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh257
Picked101
Done000
Total1076113

Merged error: 0.2b

Counts
113 → 6

regimes353.0ms

Accuracy

97.3% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03135
13135

end0.0ms

sample1.2s

Algorithm
intervals
Results
492.0ms2647×body1280valid
165.0ms1358×body640valid
136.0ms5425×body80valid
65.0ms763×body320valid
24.0ms425×body160valid

Profiling

Loading profile data...