Details

Time bar (total: 4.7s)

sample408.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 93.75%

Results
13.0ms261×body80valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.9b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(tanh (/ x y))
0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
6.4b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
pow1 add-exp-log frac-sub add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 70
Calls
4 calls:
2.0ms
(tanh (/ t y))
2.0ms
(tanh (/ x y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series232.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ t y))
27.0ms
(tanh (/ x y))
111.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
68.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0509771
12427725
25003725

prune138.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New721082
Fresh000
Picked011
Done000
Total721183

Merged error: 1.3b

Counts
83 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
0.8b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.0b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×distribute-rgt-in distribute-lft-in frac-sub
13×tanh-def
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
10×sub-neg
*-un-lft-identity
associate-+r+
add-cube-cbrt
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 101
Calls
4 calls:
2.0ms
(tanh (/ t y))
5.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
9.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series427.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ t y))
247.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
89.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
64.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05441169
124201098
250021098

prune152.0ms

Filtered
78 candidates to 113 candidates (-44.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh369
Picked101
Done011
Total1159124

Merged error: 1.1b

Counts
124 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.7b
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
4.0b
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
55×associate-*r/
34×pow1 add-exp-log
32×distribute-rgt-in distribute-lft-in
22×add-cbrt-cube
21×pow-prod-down prod-exp cbrt-unprod
18×frac-sub
12×sub-neg tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod
associate-*l* add-log-exp
flip3-- pow1/3 associate-*r* *-commutative flip--
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
15.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
19.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

series212.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
23.0ms
(cbrt z)
95.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
71.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06561908
125561424
250031339

prune144.0ms

Filtered
72 candidates to 129 candidates (-79.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh077
Picked011
Done011
Total1299138

Merged error: 1.1b

Counts
138 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))
6.4b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
6.4b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
6.4b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×pow1 add-exp-log add-cbrt-cube
18×tanh-def
15×associate-*r*
14×add-sqr-sqrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
distribute-rgt-in sub-neg distribute-lft-in
add-log-exp
cbrt-prod flip3-- associate-*l* *-commutative flip-- distribute-lft-out-- difference-of-squares
cbrt-div
flip3-+ pow1/3 flip-+
Counts
4 → 118
Calls
4 calls:
2.0ms
(cbrt (+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series590.0ms

Counts
4 → 12
Calls
4 calls:
391.0ms
(cbrt (+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))
66.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
66.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
67.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify65.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04921603
121841494
250011484

prune151.0ms

Filtered
88 candidates to 130 candidates (-47.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1273130
Fresh156
Picked101
Done022
Total12910139

Merged error: 1.1b

Counts
139 → 10

regimes512.0ms

Accuracy

0% (1.9b remaining)

Error of 2.3b against oracle of 0.4b and baseline of 2.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01913
11913

end0.0ms

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 93.75%

Results
423.0ms8300×body80valid
19.0ms97×body640valid
15.0ms57×body1280valid
13.0ms89×body320valid
6.0ms36×body160valid

Profiling

Loading profile data...