Details

Time bar (total: 5.7s)

sample23.0ms

Algorithm
intervals
Results
10.0ms260×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify72.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: 5.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh (/ x y))
0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
5.5b
(* (* 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
associate-*r* add-log-exp
add-cube-cbrt
sub-neg pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
3 → 68
Calls
3 calls:
2.0ms
(tanh (/ x y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
14.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series441.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(tanh (/ x y))
214.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
150.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0509961
12358906
25001906

prune239.0ms

Filtered
77 candidates to 59 candidates (76.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.7b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×tanh-def
13×add-sqr-sqrt
11×pow1 add-exp-log *-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-- flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 105
Calls
4 calls:
2.0ms
(tanh (/ x y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
9.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
15.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series649.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ x y))
213.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
148.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05531404
124071324
250011324

prune349.0ms

Filtered
117 candidates to 85 candidates (72.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.1b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
2.3b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite48.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)
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
19.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series875.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt y)
205.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
310.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
181.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify89.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06782084
131521715
250031651

prune409.0ms

Filtered
153 candidates to 90 candidates (58.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.1b
(* (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
2.3b
(* (* (cbrt y) (cbrt y)) (* (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite61.0ms

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

series882.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08023259
139052692
250022657

prune457.0ms

Filtered
166 candidates to 89 candidates (53.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 1.7b

regimes162.0ms

Accuracy

0% (0.5b remaining)

Error of 1.8b against oracle of 1.3b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample603.0ms

Algorithm
intervals
Results
335.0ms8296×body80valid
14.0ms97×body640valid
12.0ms55×body1280valid
9.0ms78×body320valid
3.0ms35×body160valid