Details

Time bar (total: 3.3s)

sample34.0ms

Algorithm
intervals
Results
14.0ms268×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune5.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: 4.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series286.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
114.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
27.0ms
(tanh (/ t y))
70.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify70.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05841136
126681079
250031079

prune151.0ms

Filtered
95 candidates to 73 candidates (23.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New88795
Fresh000
Picked101
Done000
Total89796

Merged error: 0.8b

Counts
96 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
2.0ms
(tanh (/ t y))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
14.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
27.0ms
(tanh (/ t y))
90.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
69.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05441169
124201098
250021098

prune152.0ms

Filtered
113 candidates to 79 candidates (30.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh336
Picked101
Done000
Total1146120

Merged error: 0.0b

Counts
120 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
2.1b
(* z (tanh (/ t y)))
2.3b
(* z (neg (tanh (/ x y))))
2.8b
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
35×associate-*r/
18×add-sqr-sqrt
17×associate-*r*
12×add-cube-cbrt *-un-lft-identity distribute-neg-frac
10×pow1 add-exp-log add-cbrt-cube
associate-*l* frac-add tanh-def
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in neg-mul-1 distribute-lft-in flip3-+ distribute-rgt-neg-out flip-+ distribute-lft-out
Counts
4 → 92
Calls
4 calls:
2.0ms
(tanh (/ t y))
5.0ms
(* z (tanh (/ t y)))
6.0ms
(* z (neg (tanh (/ x y))))
10.0ms
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

series169.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(tanh (/ t y))
32.0ms
(* z (tanh (/ t y)))
35.0ms
(* z (neg (tanh (/ x y))))
75.0ms
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0610834
13200775
25001774

prune135.0ms

Filtered
104 candidates to 83 candidates (20.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh055
Picked011
Done000
Total1046110

Merged error: 0.0b

Counts
110 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.8b
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.8b
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite42.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))))))

series214.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06561908
125561424
250031339

prune125.0ms

Filtered
129 candidates to 72 candidates (44.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh044
Picked011
Done011
Total1296135

Merged error: 0.0b

Counts
135 → 6

regimes267.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12510
22610
32610

end0.0ms

sample885.0ms

Algorithm
intervals
Results
428.0ms8341×body80valid
18.0ms90×body640valid
14.0ms51×body1280valid
12.0ms69×body320valid
4.0ms42×body160valid

Profiling

Loading profile data...