Details

Time bar (total: 6.0s)

sample25.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.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:
2.0ms
(tanh (/ x y))
7.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
50.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series728.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(tanh (/ x y))
309.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
202.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
145.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify76.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05921136
127181079
250011079

prune285.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite130.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 (/ t y))
12.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
41.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
72.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series631.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(tanh (/ t y))
203.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
202.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
150.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05391404
123341324
250031324

prune342.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.6b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.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:
2.0ms
(tanh (/ x y))
7.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
48.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series715.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(tanh (/ x y))
299.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
200.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
144.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05921136
127181079
250011079

prune269.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize14.0ms

Local error

Found 4 expressions with local error:

4.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
4.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
5.0b
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
5.0b
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite245.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*r/
36×frac-sub
26×pow1
24×tanh-def
22×sqrt-div
16×distribute-rgt-in distribute-lft-in
14×add-exp-log add-cbrt-cube
12×pow-prod-down
sub-neg
add-sqr-sqrt add-cube-cbrt *-un-lft-identity sqrt-pow1 associate-*l* prod-exp cbrt-unprod
flip3-- flip-- add-log-exp
pow1/2 associate-*r* sqrt-prod *-commutative
Counts
4 → 120
Calls
4 calls:
70.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
70.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
48.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
51.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series771.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
147.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
237.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
237.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04961894
118651790
250011790

prune478.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.6b

regimes173.0ms

Accuracy

27.2% (3.0b remaining)

Error of 3.5b against oracle of 0.5b and baseline of 4.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03130
13130

end0.0ms

sample657.0ms

Algorithm
intervals
Results
314.0ms8295×body80valid
16.0ms107×body640valid
9.0ms45×body1280valid
8.0ms74×body320valid
5.0ms34×body160valid