Details

Time bar (total: 3.4s)

sample24.0ms

Algorithm
intervals
Results
10.0ms264×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify73.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: 4.6b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
associate-*r* add-log-exp
distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 60
Calls
3 calls:
2.0ms
(tanh (/ t y))
7.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
52.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series518.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(tanh (/ t y))
300.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
145.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0497706
12354660
25002660

prune189.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

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

rewrite136.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:
9.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
2.0ms
(tanh (/ t y))
44.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
77.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series735.0ms

Counts
4 → 12
Calls
4 calls:
313.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
72.0ms
(tanh (/ t y))
202.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
148.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05441169
124201098
250011098

prune291.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (/ (* t z) y)))
2.1b
(/ (* t z) y)
8.8b
(* y (/ (* t z) y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
times-frac
pow1 prod-exp cbrt-unprod add-log-exp
cbrt-undiv div-exp
associate-*l* associate-/r*
div-inv
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log *-commutative flip-+ associate-/l* unswap-sqr
Counts
3 → 59
Calls
3 calls:
6.0ms
(+ x (* y (/ (* t z) y)))
9.0ms
(/ (* t z) y)
17.0ms
(* y (/ (* t z) y))

series61.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ x (* y (/ (* t z) y)))
17.0ms
(/ (* t z) y)
14.0ms
(* y (/ (* t z) y))

simplify40.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0255302
11346257
25001235

prune122.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (pow (* t z) 1))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 12
Calls
1 calls:
10.0ms
(+ x (pow (* t z) 1))

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(+ x (pow (* t z) 1))

simplify160.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07769
129359
299059
3440159
4500259

prune32.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

regimes89.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample652.0ms

Algorithm
intervals
Results
314.0ms8281×body80valid
14.0ms101×body640valid
11.0ms51×body1280valid
8.0ms77×body320valid
2.0ms30×body160valid