Details

Time bar (total: 13.5s)

sample204.0ms

Algorithm
intervals
Results
100.0ms118×body1280valid
36.0ms70×body640valid
24.0ms256×pre80true
10.0ms39×body80valid
7.0ms21×body320valid
2.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.3b
(tan (+ y z))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
13.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series291.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(+ x (- (tan (+ y z)) (tan a)))
116.0ms
(- (tan (+ y z)) (tan a))
51.0ms
(tan (+ y z))

simplify95.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune245.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
115×add-sqr-sqrt
108×add-cube-cbrt prod-diff
97×times-frac
56×associate-+r+
27×distribute-lft-out
18×fma-neg
16×associate-/r/
11×add-log-exp
flip3-- flip--
add-exp-log add-cbrt-cube div-inv
tan-quot
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 227
Calls
4 calls:
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
78.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
50.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.1s

Counts
4 → 12
Calls
4 calls:
239.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
402.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
408.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
98.0ms
(* (tan y) (tan z))

simplify106.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07044490
122933769
250023667

prune837.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin z))
0.2b
(- (+ (/ (sin y) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos y))) (/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))) (/ (sin a) (cos a)))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

rewrite335.0ms

Algorithm
rewrite-expression-head
Rules
130×*-un-lft-identity
94×times-frac
91×prod-diff
76×add-sqr-sqrt
69×add-cube-cbrt
58×associate-/r/
56×associate-*l/
30×add-exp-log add-cbrt-cube
29×flip3-- flip-- distribute-lft-out
28×distribute-rgt-out
prod-exp cbrt-unprod div-inv add-log-exp
cbrt-undiv div-exp
fma-neg
pow1
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* frac-sub sin-mult
frac-2neg diff-log clear-num associate-/r* cos-mult associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
sub-neg flip3-+ pow-prod-down frac-add associate--l+ sum-log *-commutative flip-+ unswap-sqr
Counts
4 → 192
Calls
4 calls:
4.0ms
(* (sin y) (sin z))
305.0ms
(- (+ (/ (sin y) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos y))) (/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))) (/ (sin a) (cos a)))
6.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
6.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

series774.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (sin y) (sin z))
473.0ms
(- (+ (/ (sin y) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos y))) (/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))) (/ (sin a) (cos a)))
119.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
126.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

simplify164.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08958686
137307019
250026886

prune851.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin z))
0.2b
(/ (sin z) (cos z))
0.2b
(- (* (/ 1 (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (+ (/ (sin y) (cos y)) (/ (sin z) (cos z)))) (/ (sin a) (cos a)))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
20×add-exp-log add-cbrt-cube
19×times-frac
13×prod-diff
frac-sub
pow1 add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
frac-times associate-*r/ associate-*r* associate-*l* div-inv
frac-2neg flip3-+ frac-add associate--l+ clear-num flip-+ sin-mult
distribute-rgt-in sub-neg quot-tan flip3-- distribute-lft-in fma-neg diff-log pow-prod-down associate-*l/ associate-/r/ cos-mult *-commutative flip-- associate-/l/ unswap-sqr
Counts
4 → 113
Calls
4 calls:
4.0ms
(* (sin y) (sin z))
3.0ms
(/ (sin z) (cos z))
36.0ms
(- (* (/ 1 (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (+ (/ (sin y) (cos y)) (/ (sin z) (cos z)))) (/ (sin a) (cos a)))
6.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

series630.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (sin y) (sin z))
26.0ms
(/ (sin z) (cos z))
430.0ms
(- (* (/ 1 (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (+ (/ (sin y) (cos y)) (/ (sin z) (cos z)))) (/ (sin a) (cos a)))
123.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

simplify111.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08892086
139291743
250021699

prune642.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes345.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03729
13729

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.5s3877×body1280valid
1.1s1952×body640valid
792.0ms8000×pre80true
286.0ms734×body320valid
177.0ms1166×body80valid
77.0ms271×body160valid