Details

Time bar (total: 6.0s)

sample33.0ms

Algorithm
intervals
Results
13.0ms271×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune11.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: 5.6b

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 (/ x y))
5.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 (/ x y))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series289.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
115.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
28.0ms
(tanh (/ x y))
70.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify71.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05921136
127281079
250011079

prune542.0ms

Filtered
95 candidates to 73 candidates (23.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New89695
Fresh000
Picked101
Done000
Total90696

Merged error: 0.5b

Counts
96 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series216.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04701039
12128970
25003970

prune699.0ms

Filtered
104 candidates to 76 candidates (26.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1022104
Fresh325
Picked011
Done000
Total1055110

Merged error: 0.2b

Counts
110 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.9b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.4b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
66×associate-*r/
34×distribute-rgt-in distribute-lft-in
32×pow1 add-exp-log
27×frac-sub
20×add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
18×tanh-def
14×sub-neg
13×add-sqr-sqrt
11×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
associate-*r*
cbrt-prod
add-log-exp
flip3-- *-commutative flip--
pow1/3 distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 141
Calls
4 calls:
1.0ms
(cbrt y)
13.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
19.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series299.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06982096
128501728
250031656

prune988.0ms

Filtered
153 candidates to 89 candidates (41.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh033
Picked101
Done011
Total1535158

Merged error: 0.2b

Counts
158 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

1.7b
(* z (tanh (/ x y)))
4.8b
(+ (* (* (pow (cbrt y) 3) (tanh (/ t y))) z) (* (neg y) (* z (tanh (/ x y)))))
5.4b
(* (neg y) (* z (tanh (/ x y))))
8.7b
(* (pow (cbrt y) 3) (tanh (/ t y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
39×associate-*r/
31×associate-*l*
28×add-sqr-sqrt
16×add-exp-log
15×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
11×pow1
associate-*l/ frac-add tanh-def
cbrt-prod unpow-prod-down cube-prod
associate-*r* prod-exp unswap-sqr
add-log-exp
cbrt-unprod
pow-prod-down
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in *-commutative
sqr-pow
+-commutative cube-mult pow-to-exp neg-mul-1 flip3-+ unpow3 unsub-neg pow-exp sum-log flip-+
Counts
4 → 114
Calls
4 calls:
5.0ms
(* z (tanh (/ x y)))
11.0ms
(+ (* (* (pow (cbrt y) 3) (tanh (/ t y))) z) (* (neg y) (* z (tanh (/ x y)))))
7.0ms
(* (neg y) (* z (tanh (/ x y))))
8.0ms
(* (pow (cbrt y) 3) (tanh (/ t y)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* z (tanh (/ x y)))
68.0ms
(+ (* (* (pow (cbrt y) 3) (tanh (/ t y))) z) (* (neg y) (* z (tanh (/ x y)))))
31.0ms
(* (neg y) (* z (tanh (/ x y))))
27.0ms
(* (pow (cbrt y) 3) (tanh (/ t y)))

simplify121.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
06581126
136381046
250021037

prune974.0ms

Filtered
126 candidates to 93 candidates (26.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh213
Picked101
Done101
Total1283131

Merged error: 0b

Counts
131 → 3

regimes290.0ms

Accuracy

34.7% (3.6b remaining)

Error of 3.9b against oracle of 0.3b and baseline of 5.8b

bsearch98.0ms

Steps
ItersRangePoint
8
53342933.17227377
46229415639.65354
45574721038.57689
5
-2.0595757140125136e+47
-6.199818694421742e+46
-2.0090538026129658e+47

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04320
14920
24920

end0.0ms

sample826.0ms

Algorithm
intervals
Results
401.0ms8291×body80valid
19.0ms107×body640valid
11.0ms42×body1280valid
9.0ms64×body320valid
4.0ms41×body160valid

Profiling

Loading profile data...