Details

Time bar (total: 20.2s)

sample25.0ms

Algorithm
intervals
Results
11.0ms266×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01215
15415
214614
331314
494614
5298114
done500014

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.4b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite38.0ms

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

series819.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(tanh (/ t y))
234.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
220.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
274.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify675.0ms

Counts
126 → 126
Iterations

Useful iterations: 2 (227.0ms)

IterNodesCost
02173259
15432726
217292366
done50002366

prune388.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.6b

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg 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 → 142
Calls
4 calls:
1.0ms
(tanh (/ x y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series876.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(tanh (/ x y))
374.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
241.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
173.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.1s

Counts
154 → 154
Iterations

Useful iterations: 2 (510.0ms)

IterNodesCost
02614155
17563462
229072986
done50002986

prune443.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ x y)) (tanh (/ x y)))
1.4b
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
1.4b
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
6.0b
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

rewrite307.0ms

Algorithm
rewrite-expression-head
Rules
637×associate-*r/
549×frac-times
494×tanh-def
450×frac-sub
227×associate-/l/
183×associate-*l/
16×add-sqr-sqrt *-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
11×associate-/r/
frac-add
associate-*r*
associate-*l*
expm1-log1p-u times-frac associate-/r* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in swap-sqr prod-exp cbrt-unprod
cbrt-undiv sub-neg flip3-- div-exp prod-diff pow-prod-down *-commutative flip-- distribute-lft-out unswap-sqr
pow2 frac-2neg flip3-+ pow-plus clear-num pow-sqr pow-prod-up flip-+ fma-udef div-inv associate-/l* difference-of-squares
Counts
4 → 569
Calls
4 calls:
9.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
122.0ms
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
0.0ms
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
104.0ms
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

series3.0s

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
583.0ms
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
1.0s
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
1.2s
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

simplify1.4s

Counts
581 → 581
Iterations

Useful iterations: 1 (779.0ms)

IterNodesCost
0137627846
1370827187
done500027187

prune3.9s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.6b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.2b
(pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3)
5.5b
(* (- (tanh (/ t y)) (tanh (/ x y))) (* y z))
23.8b
(cbrt (pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-sub
33×associate-*l/
24×tanh-def
22×cube-div
18×add-sqr-sqrt *-un-lft-identity
15×pow1 add-exp-log add-cbrt-cube
14×add-cube-cbrt
11×cbrt-div
prod-diff
cbrt-prod
pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*l*
expm1-log1p-u flip3-- flip-- log1p-expm1-u
pow-unpow pow-pow fma-neg pow-exp rem-cube-cbrt
cube-mult unpow-prod-down unpow3 cube-prod distribute-lft-out-- difference-of-squares sqr-pow
pow-to-exp sub-neg pow1/3 diff-log associate-*r* *-commutative rem-cbrt-cube
Counts
4 → 138
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
18.0ms
(pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3)
28.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) (* y z))
13.0ms
(cbrt (pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3))

series2.7s

Counts
4 → 12
Calls
4 calls:
274.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.6s
(pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3)
439.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) (* y z))
440.0ms
(cbrt (pow (* (- (tanh (/ t y)) (tanh (/ x y))) (* y z)) 3))

simplify1.4s

Counts
150 → 150
Iterations

Useful iterations: 2 (465.0ms)

IterNodesCost
02814396
18463868
235793688
done50003688

prune641.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

regimes199.0ms

Accuracy

32.5% (2.9b remaining)

Error of 3.0b against oracle of 0.1b and baseline of 4.4b

bsearch2.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02893
13493
done3493

end0.0ms

sample616.0ms

Algorithm
intervals
Results
354.0ms8310×body80valid
16.0ms105×body640valid
8.0ms39×body1280valid
8.0ms66×body320valid
3.0ms34×body160valid