Details

Time bar (total: 1.0m)

sample29.0ms

Algorithm
intervals
Results
13.0ms259×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.3b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub
tanh-def
pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
48.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series649.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ x y))
83.0ms
(tanh (/ t y))
260.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
220.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify64.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04741186
11938917
25002917

prune327.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ x y)) 3)
0.3b
(fma y (* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3)))) x)
1.9b
(* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3))))
12.9b
(cbrt (pow (tanh (/ x y)) 3))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
88×cbrt-prod
77×add-sqr-sqrt
68×*-un-lft-identity
66×add-cube-cbrt
47×distribute-rgt-in distribute-lft-in
25×unpow-prod-down cube-prod
15×cube-div
12×cbrt-div
11×associate-*r/
associate-*r* frac-sub sqr-pow
cube-mult unpow3 tanh-def
pow1 add-exp-log add-cbrt-cube
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*l*
sub-neg
pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative flip-- rem-cbrt-cube cbrt-unprod fma-udef distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 195
Calls
4 calls:
4.0ms
(pow (tanh (/ x y)) 3)
0.0ms
(fma y (* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3)))) x)
87.0ms
(* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3))))
4.0ms
(cbrt (pow (tanh (/ x y)) 3))

series702.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(pow (tanh (/ x y)) 3)
262.0ms
(fma y (* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3)))) x)
221.0ms
(* z (- (tanh (/ t y)) (cbrt (pow (tanh (/ x y)) 3))))
87.0ms
(cbrt (pow (tanh (/ x y)) 3))

simplify112.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07563526
127312660
250022458

prune434.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*l/
pow1 add-exp-log frac-sub add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*l*
expm1-log1p-u log1p-expm1-u
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- fma-def flip3-+ associate-*r* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 71
Calls
4 calls:
38.0ms
(+ (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) x)
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
56.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) (* y z))

series723.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(+ (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) x)
80.0ms
(tanh (/ x y))
85.0ms
(tanh (/ t y))
354.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) (* y z))

simplify67.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0506770
11969721
25003721

prune290.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))
0.3b
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
1.0b
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
11.9b
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

rewrite1.3s

Algorithm
rewrite-expression-head
Rules
7005×frac-add
6363×frac-times
5668×tanh-def
3407×associate-/r/
2143×associate-*r/
2121×associate-*l/
288×prod-diff
178×add-sqr-sqrt
162×*-un-lft-identity
156×unpow-prod-down cube-prod
152×add-cube-cbrt
146×distribute-rgt-in distribute-lft-in
56×sqr-pow
48×cube-mult unpow3
36×cube-div
25×associate-*r*
18×frac-sub
17×flip3-+ flip-+
16×difference-of-squares
11×add-exp-log add-cbrt-cube associate-/l/
pow1 add-log-exp
distribute-lft-out--
expm1-log1p-u log1p-expm1-u
times-frac associate-*l* associate-/r*
cbrt-undiv sub-neg flip3-- div-exp prod-exp flip-- cbrt-unprod
difference-cubes +-commutative distribute-rgt-out fma-def frac-2neg pow-prod-down clear-num sum-log *-commutative fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 4036
Calls
4 calls:
32.0ms
(+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
128.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
428.0ms
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

series8.3s

Counts
4 → 12
Calls
4 calls:
746.0ms
(+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))
2.8s
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
970.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
3.8s
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

simplify3.1s

Algorithm
egg-herbie
Counts
4048 → 4048
Iterations

Useful iterations: 0 (329.0ms)

IterNodesCost
013731311944

prune43.1s

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes118.0ms

Accuracy

40.8% (2.7b remaining)

Error of 2.8b against oracle of 0.1b and baseline of 4.7b

bsearch96.0ms

Steps
ItersRangePoint
10
3.3522851700525408e+106
1.9300913087834497e+118
1.2631678329070156e+113
8
-4.107771078716897e+228
-3.355020795826815e+225
-3.414138778260208e+225

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample652.0ms

Algorithm
intervals
Results
321.0ms8268×body80valid
18.0ms99×body640valid
9.0ms41×body1280valid
7.0ms69×body320valid
3.0ms39×body160valid