Details

Time bar (total: 6.3s)

sample23.0ms

Algorithm
intervals
Results
10.0ms259×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
25.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series780.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
81.0ms
(tanh (/ t y))
328.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
155.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify71.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05841136
126581079
250011079

prune323.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 1.4b

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.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
2.6b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite75.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))))))
1.0ms
(tanh (/ t y))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
40.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series770.0ms

Counts
4 → 12
Calls
4 calls:
324.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
80.0ms
(tanh (/ t y))
213.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
152.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
250011098

prune333.0ms

Filtered
113 candidates to 79 candidates (69.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.0b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.9b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite175.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)
43.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
102.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series881.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt y)
314.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
208.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
184.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify88.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06782084
131521715
250031651

prune453.0ms

Filtered
153 candidates to 91 candidates (59.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (pow (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))) 1))
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
2.6b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×frac-sub
13×tanh-def
11×pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt
sub-neg 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 distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 94
Calls
4 calls:
1.0ms
(tanh (/ t y))
4.0ms
(+ x (pow (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))) 1))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
40.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series793.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(tanh (/ t y))
328.0ms
(+ x (pow (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))) 1))
229.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
162.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05421145
125311069
250021069

prune352.0ms

Filtered
106 candidates to 76 candidates (71.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

regimes173.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample598.0ms

Algorithm
intervals
Results
339.0ms8346×body80valid
13.0ms59×body1280valid
13.0ms83×body640valid
7.0ms65×body320valid
2.0ms26×body160valid