Details

Time bar (total: 4.8s)

sample23.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.0b

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

rewrite37.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:
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
24.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series781.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
217.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
78.0ms
(tanh (/ t y))
158.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify72.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05841136
126581079
250021079

prune285.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ t y))
1.6b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.7b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite73.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:
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
40.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series659.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05391404
123341324
250031324

prune332.0ms

Filtered
117 candidates to 86 candidates (73.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
2.1b
(* z (tanh (/ t y)))
2.2b
(* z (- (tanh (/ x y))))
3.7b
(* y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))))

rewrite42.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:
1.0ms
(tanh (/ t y))
5.0ms
(* z (tanh (/ t y)))
8.0ms
(* z (- (tanh (/ x y))))
25.0ms
(* y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))))

series418.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
85.0ms
(* z (tanh (/ t y)))
87.0ms
(* z (- (tanh (/ x y))))
167.0ms
(* y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))))

simplify83.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0610834
13198775
25002774

prune323.0ms

Filtered
104 candidates to 83 candidates (79.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.3b
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
5.8b
(* (* y z) (tanh (/ t y)))
5.9b
(* (* y z) (- (tanh (/ x y))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
14×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
12×distribute-neg-frac
frac-add tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-rgt-neg-out
associate-*l* *-commutative
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ distribute-lft-out
Counts
4 → 83
Calls
4 calls:
1.0ms
(tanh (/ t y))
11.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
9.0ms
(* (* y z) (tanh (/ t y)))
11.0ms
(* (* y z) (- (tanh (/ x y))))

series412.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
162.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
84.0ms
(* (* y z) (tanh (/ t y)))
87.0ms
(* (* y z) (- (tanh (/ x y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0609904
13160829
25002828

prune277.0ms

Filtered
95 candidates to 72 candidates (75.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes83.0ms

Accuracy

0% (1.9b remaining)

Error of 2.1b against oracle of 0.1b and baseline of 2.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12510
22610
32610

end0.0ms

sample566.0ms

Algorithm
intervals
Results
325.0ms8354×body80valid
14.0ms91×body640valid
8.0ms39×body1280valid
6.0ms52×body320valid
2.0ms33×body160valid