Details

Time bar (total: 10.9s)

sample163.0ms

Algorithm
intervals
Results
82.0ms113×body1280valid
30.0ms73×body640valid
10.0ms256×pre80true
6.0ms23×body320valid
3.0ms39×body80valid
2.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 13.2b

localize19.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
3.4b
(tan (+ y z))

rewrite43.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:
18.0ms
(- (tan (+ y z)) (tan a))
17.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(tan (+ y z))

series340.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(- (tan (+ y z)) (tan a))
145.0ms
(+ x (- (tan (+ y z)) (tan a)))
61.0ms
(tan (+ y z))

simplify92.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0276685
1732540
23057507
35001488

prune232.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 104
Calls
4 calls:
60.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
32.0ms
(* (+ (tan y) (tan z)) (cos a))
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))

series942.0ms

Counts
4 → 12
Calls
4 calls:
556.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
172.0ms
(* (+ (tan y) (tan z)) (cos a))
105.0ms
(* (tan y) (tan z))
109.0ms
(* (tan y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06071365
128281198
250021191

prune529.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
4.3b
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
38×tan-quot
24×add-sqr-sqrt
20×associate-*l/
18×*-un-lft-identity
15×pow1 add-exp-log add-cbrt-cube
14×add-cube-cbrt
11×associate-/l/
10×frac-sub
frac-times associate-*r/ associate-*r* associate-*l*
times-frac associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
swap-sqr pow-prod-down associate-/r/ *-commutative unswap-sqr
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out-- difference-of-squares
pow2 frac-2neg pow-plus clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 117
Calls
4 calls:
15.0ms
(* (tan z) (tan z))
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
85.0ms
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

series615.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan z) (tan z))
105.0ms
(* (tan y) (tan z))
107.0ms
(* (tan y) (tan z))
367.0ms
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04681030
12253919
25002915

prune588.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×*-un-lft-identity
10×pow1 add-cube-cbrt associate-*l*
associate-*r*
prod-exp cbrt-unprod
tan-quot
cbrt-undiv expm1-log1p-u div-exp associate-*l/ log1p-expm1-u add-log-exp
pow-prod-down *-commutative unswap-sqr
sin-mult
frac-times frac-2neg flip3-+ times-frac associate-*r/ frac-add clear-num associate-/r* associate-/r/ cos-mult flip-+ div-inv associate-/l/ distribute-lft-out associate-/l*
Counts
4 → 93
Calls
4 calls:
30.0ms
(* (+ (tan y) (tan z)) (cos a))
12.0ms
(* (sin y) (sin z))
20.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
15.0ms
(* (tan y) (tan z))

series439.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(* (+ (tan y) (tan z)) (cos a))
51.0ms
(* (sin y) (sin z))
114.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
102.0ms
(* (tan y) (tan z))

simplify53.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0433725
12070606
25002606

prune515.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.1b

regimes466.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02928
12928

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.0s3901×body1280valid
1.1s1932×body640valid
338.0ms8000×pre80true
220.0ms725×body320valid
100.0ms1158×body80valid
56.0ms284×body160valid